.dialog{
    position: absolute;
    top:0px;
    left:0px;
    width: 100%;
    height: 100%;
    background-color: rgba(255,0,0,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    visibility: hidden;
}

.content{
    background-color: white;
    border:2px solid #000;
    width: 600px;
    height: 300px;
}